package benny.ApkposStore.Service;

import android.app.IntentService;
import android.content.Intent;
import android.util.Log;




public class UpdateStateService extends IntentService {
	
	final private int mSleepTime = 3000; //10s
	final private String tag = "UpdateStateService";
	private int num=0;
	
	public UpdateStateService() {
		super("UpdateStateService");
	}
	  
	@Override
	protected void onHandleIntent(Intent intent) {

		while(true) {
			synchronized(this) {
				try {				
					Thread.sleep(mSleepTime);
                    num++;
									 					
				} catch (InterruptedException e) {
					Log.e(tag, e.getMessage());					
				}
			}
		}
	}
	  

	
}
